package com.example.bit.captchademo.model;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 获取配置项实体类
 */
@Data
@Component
@ConfigurationProperties(prefix = "captcha")
public class CaptchaProperties {
    public Integer width=200;
    private Integer height;
    private Session session;

    public int getWidth1(){
        return width;
    }
}
